import * as types from '../actionTypes'
export const addNewToDo = (text)=>({
  type: types.ADDTOOL,
  text
}) 
export const removeToDo = (id)=>({
  type: types.REMOVETODO,
  id
})